import { Player } from "../player.entity";
import { EffectType } from "../../consts/effect_type";
import { Unit } from "../unit";

export interface Effect {
    getActive():Unit;//效果的施放者
    getTarget():Unit;//效果的目标对象
    run():void;//运行效果
    isRun():Boolean;
    getName():EffectType;
    cancel():void;//取消
}